package com.atguigu.ssyx.sys;

import com.atguigu.ssyx.common.config.annotation.EnableAutoSwagger2Config;
import com.atguigu.ssyx.common.config.annotation.EnableMybatisPlusConfig;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author 杨林
 * @create 2023-07-12 16:06 星期三
 * description:
 */
@SpringBootApplication
@EnableMybatisPlusConfig
@EnableAutoSwagger2Config
@EnableDiscoveryClient   //用于 nacos 服务发现
public class SysApplication {
    public static void main(String[] args){
        SpringApplication.run(SysApplication.class,args);
    }
}
